Skip to content

Bugfix: Allow replacing cached items#4

Closed
jvdweerthof wants to merge 1 commit into
robby:masterfrom
jvdweerthof:master
Closed

Bugfix: Allow replacing cached items#4
jvdweerthof wants to merge 1 commit into
robby:masterfrom
jvdweerthof:master

Conversation

@jvdweerthof
Copy link
Copy Markdown

Fixes the issue where in some use cases an error was thrown when replacing a previously set item.

Reproduce with:
var Cache = require( "lru-cache-cluster" )();
Cache.set('test', 1);
Cache.set('test', 2);

Result:
TypeError: undefined is not a function

Fixes the issue where in some use cases an error was thrown when replacing a previously set item
@jvdweerthof jvdweerthof closed this by deleting the head repository Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant